package com.anolesoft.amljmes.ds2.mapper;

import com.anolesoft.amljmes.ds2.entity.Ds2UserDO;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhj
 * @date 2022/1/10 15:59
 */
@Mapper
@DS("db2")
public interface Ds2UserMapper {
    @Insert("insert into t_user values (#{p.id},#{p.name},#{p.age})")
    int insert(@Param("p") Ds2UserDO userDO);
}
